//绑定index页的完成加载的方法
$(document).on("pageInit", "#new2", function(e, pageId, $page) {
    $('#script_caidan').on('click', function () {
        var buttons1 = [
            {
                text: '代缴罚款'
            },
            {
                text: '代办驾照'
            }
        ];
        var buttons2 = [
            {
                text: '取消',
                bg: 'danger'
            }
        ];
        var groups = [buttons1, buttons2];
        $.actions(groups);
    });
});

